<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel = "stylesheet" href = "demo03.css">
</head>
<body>
    <h1>基础选择器</h1>
    <h3>1.类选择器</h3>
    <p class = "eat">吃饭</p>
    <p class = "sleep">睡觉</p>
    <p class = "play game">玩游戏</p>
    <h3>2.id选择器</h3>
    <p id = "fe">前端开发</p>
    <p id = "serve">后端开发</p>
    <h3>3.通配符选择器</h3>
</body>
</html>